package com.dragon.concurrent.demo.interrupt;

public class ThreadCloseTest {

    public static void main(String[] args) {
        ThreadService threadService = new ThreadService();
        threadService.execute(() -> {
            while (true) {

            }
        });
        threadService.shutdown(10000);

    }
}
